package net.edu_soft.ec.asset.pojo.vo;

import net.edu_soft.ec.asset.pojo.Label;
import net.edu_soft.ec.asset.pojo.ProExtension;
import net.edu_soft.ec.asset.pojo.Product;
import net.edu_soft.ec.asset.pojo.ProductDetail;

import java.util.List;

public class ProductVO {


    /**
     * 产品基础信息
     */
    private Product product;

    /**
     * 产品详情
     */
    private ProductDetail productDetail;

    /**
     * 产品扩展
     */
    private ProExtension proExtension;

    /**
     * 产品与高校关系
     */
    private List<SchoolVO> schools;

    /**
     * 产品标签
     */
    private List<Label> labels;

    public ProductVO() {
    }

    public ProductVO(Product product, ProductDetail productDetail, ProExtension proExtension, List<SchoolVO> schools, List<Label> labels) {
        this.product = product;
        this.productDetail = productDetail;
        this.proExtension = proExtension;
        this.schools = schools;
        this.labels = labels;
    }

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public ProductDetail getProductDetail() {
        return productDetail;
    }

    public void setProductDetail(ProductDetail productDetail) {
        this.productDetail = productDetail;
    }

    public ProExtension getProExtension() {
        return proExtension;
    }

    public void setProExtension(ProExtension proExtension) {
        this.proExtension = proExtension;
    }

    public List<SchoolVO> getSchools() {
        return schools;
    }

    public void setSchools(List<SchoolVO> schools) {
        this.schools = schools;
    }

    public List<Label> getLabels() {
        return labels;
    }

    public void setLabels(List<Label> labels) {
        this.labels = labels;
    }

    @Override
    public String toString() {
        return "ProductVO{" +
                "product=" + product +
                ", productDetail=" + productDetail +
                ", proExtension=" + proExtension +
                ", schools=" + schools +
                ", labels=" + labels +
                '}';
    }
}
